import http from '../request'
export default {
  //首页推荐
  async getRecommendR() {
    return await http.get('/getRecommend')
  },
  //获取歌单详情
  async getSongListDetailR(id) {
    return await http.get('/getSongListDetail?disstid=' + id)
  },
  //获取歌曲详情
  async getSongInfoR(mid) {
    return await http.get('/getSongInfo?songmid=' + mid)
  },
  //获取歌曲图片 需要通过pmid获取
  async getImageUrlR(pmid) {
    return await http.get('/getImageUrl?id=' + pmid)
  },
  //获取歌曲歌词
  async getLyricR(mid) {
    return await http.get('/getLyric?songmid=' + mid)
  },
  //获取歌曲播放音频
  async getMusicVKeyR(mid) {
    return await http.get('/getMusicVKey?songmid=' + mid)
  }
}

